<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.io.*,java.util.Locale"%>
<%@ page import="javax.servlet.*,javax.servlet.http.* "%>
<%@ page import="java.text.NumberFormat,java.util.Date"%>

<%
	String title = "区域特定货币";

	//Get the client's Locale
	Locale locale = request.getLocale();

	NumberFormat nft = NumberFormat.getCurrencyInstance(locale);
	String formattedCurr = nft.format(1000000);
%>

<html>

<head>
<title>
	<%
		out.print(title);
	%>
</title>
</head>

<body>
	<center>
		<h1>
			<%
				out.print(title);
			%>
		</h1>
	</center>

	<div align="center">
		<p>
			Formatted Currency:
			<%
			out.print(formattedCurr);
		%>
		</p>
	</div>
</body>
</html>